package com.mb.mp.dao;

import com.mb.mp.domain.MpMemberInfoDO;

import java.util.List;
import java.util.Map;

public interface MpMemberInfoDOMapper {
    int deleteByPrimaryKey(Long memberId);

    int insert(MpMemberInfoDO record);

    int insertSelective(MpMemberInfoDO record);

    MpMemberInfoDO selectByPrimaryKey(Long memberId);

    int updateByPrimaryKeySelective(MpMemberInfoDO record);

    int updateByPrimaryKey(MpMemberInfoDO record);

    List<MpMemberInfoDO> list(Map<String, Object> map);

    Integer count(Map<String, Object> map);

    int updateCommission(MpMemberInfoDO record);

    int backCommission(MpMemberInfoDO record);


    int setVip(MpMemberInfoDO record);


}